<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * 微信卡券-投放二维码
 * @package App\Models
 */
class WxCardQrcode extends Model
{
    use SoftDeletes;
    protected $table = 'wx_card_qrcodes';
    //主键
    protected $primaryKey = 'id';
    protected $dateFormat = 'Y-m-d H:i:s';
    /**
     * 需要转换成日期的属性
     * @var array
     */
    protected $dates = [
    ];
    /**
     * 应该被转换成原生类型的属性。
     * @var array
     */
    protected $casts = [
        'card_info' => 'array',
        'card_list' => 'array',
        'qrcode_info' => 'array',
    ];
}
